import angular from 'angular';
import uiRouter from 'angular-ui-router';
export default angular.module('app.routes', [uiRouter])
    .config(function ($stateProvider, $urlRouterProvider) {
        $urlRouterProvider.otherwise('/home');

        $stateProvider
            .state('home', {
                url: '/home',
                template: require('../templates/home.html'),
                controller: 'homeCtrl'
            })
            .state('signup', {
                url: '/signup',
                template: require('../templates/signup.html'),
                controller: 'signupCtrl'
            })
            .state('login', {
                url: '/login',
                template: require('../templates/login.html'),
                controller: 'loginCtrl'
            })
            .state('showtime', {
                url: '/showtime',
                template: require('../templates/showtime.html'),
                controller: 'showtimeCtrl'
            })
            .state('aboutme', {
                url: '/aboutme',
                template: require('../templates/aboutme.html'),
                controller: 'aboutmeCtrl'
            })
            .state('hello', {
                url: '/hello',
                templateUrl: './templates/hello.html',
                controller: 'helloCtrl'
            })

            .state('abc',{
                url:'/abc',
                templateUrl:'./templates/abc.html',
                controller:'abcCtrl'
            })

    })

    .name;